<?php

class StringFunctions {

function formFormatted($string){
		$string = strtolower($string);
		$string = str_replace(" ", "_", $string);
		return $string;
		}
		
function camelCase($string){
		$string = str_replace("_", " ", $string);
		$string = ucwords($string);
		return $string;
		}
		
function formatPrice($price){
	$formatted = number_format($price,2);
	return ($formatted);

}

function removeLastCharacter($string){
	$string = substr_replace($string,"",-1);
	return $string;
	}


}
?>